Description
Used to define the gradient fill in a complex polygon symbol.
Diagram
Overview
|
GRADIENTFILL
Used to define the gradient fill in a complex polygon symbol.
|
angle optional Restriction of xs:double
Direction of fill gradient in degrees clockwise.
|
|
gradienttype optional Restriction of xs:string
The shape of the gradient.
|
|
intervals optional Restriction of xs:int
Number of colors used in the gradient
|
|
percentage optional Restriction of xs:int
The saturation distribution between the colors. Controls the bleeding effect of the fill.
|
|
Sequence
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
angle | Restriction of xs:double | optional | 0.0 | | Direction of fill gradient in degrees clockwise. |
gradienttype | Restriction of xs:string | optional | linear | | The shape of the gradient. |
intervals | Restriction of xs:int | optional | 5 | | Number of colors used in the gradient |
percentage | Restriction of xs:int | optional | 75 | | The saturation distribution between the colors. Controls the bleeding effect of the fill. |
Examples
Source
<xs:element name="GRADIENTFILL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to define the gradient fill in a complex polygon symbol.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="COLORRAMP">
<xs:complexType>
<xs:sequence>
<xs:element name="COLOR" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="color" use="required" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="angle" default="0.0">
<xs:annotation>
<xs:documentation>Direction of fill gradient in degrees clockwise.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0.0" />
<xs:maxInclusive value="360.0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="gradienttype" default="linear">
<xs:annotation>
<xs:documentation>The shape of the gradient.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="linear" />
<xs:enumeration value="rectangular" />
<xs:enumeration value="circular" />
<xs:enumeration value="buffered" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="intervals" default="5" form="unqualified">
<xs:annotation>
<xs:documentation>Number of colors used in the gradient</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="percentage" default="75">
<xs:annotation>
<xs:documentation>The saturation distribution between the colors. Controls the bleeding effect of the fill.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
<xs:maxInclusive value="100" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also